Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Line endings

The git config core.autocrlf command is used to change how Git handles line endings. It takes a single argument.

git config --global core.autocrlf input|true|false
autocrlfcommitcheckoutWhen to Use
inputCRLF → LF-Unix, MacOS
trueCRLF → LFLF → CRLFWindows
false--Single platform